﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FaultBackService.BLL
{
    class RealTimeFault
    {
        DAL.RealTimeFault dal = new DAL.RealTimeFault();
        /// <summary>
        /// 获取所有的实时故障列表
        /// </summary>
        /// <returns></returns>
        internal IList<Models.RealTimeFault> GetAll()
        {
            return dal.GetAll();
        }

        /// <summary>
        /// 直接获取Dict
        /// </summary>
        /// <returns></returns>
        internal IDictionary<int, Models.RealTimeFault> GetDict()
        {
            return dal.GetDict();
        }
    }
}
